20. Why do we have Safe Arguments?

Why Safe Arguments?

What are advantages we get from using safe arguments?

SOLUTION:
  • We get type safety, as navigation generates the action and the argument class from the navigation graph.
  • We get argument enforcement, as non-default arguments are required parameters in the action.